package org.example.doctorapi.data;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_login_info")
public class SysLoginInfo extends BaseDto implements Serializable {
    @TableId
    private Integer infoId;
    private String userName;
    private String loginAccount;
    private String ipAddr;
    private String loginLocation;
    private String browser;
    private String os;
    private String loginStatus;
    private String loginType;
    private String msg;
    private Date loginTime;

    public static final String INFO = "login_account";
    public static final String USER_NAME = "user_name";
    public static final String LOGIN_ACCOUNT = "login_account";
    public static final String IP_ADDR = "ip_addr";
    public static final String LOGIN_LOCATION = "login_location";
    public static final String BROWSER = "browser";
    public static final String OS = "os";
    public static final String LOGIN_STATUS = "login_status";
    public static final String LOGIN_TYPE = "login_type";
    public static final String LOGIN_TIME = "login_time";
    public static final String MSG = "msg";

}
